package xxy.com.yangproject;

import com.blankj.utilcode.util.LogUtils;
import com.blankj.utilcode.util.ToastUtils;

import java.io.File;
import java.io.FileOutputStream;
import java.io.ObjectOutputStream;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.ListIterator;

import xxy.com.yangproject.global.Constant;

public class Test {
    public Test() {
        LogUtils.eTag(Constant.TAG, "类名 : " + this.getClass().getName() + "\t线程ID ： " +Thread.currentThread().getId());
        ToastUtils.showShort( "类名 : " + this.getClass().getName() + "\t线程ID ： " +Thread.currentThread().getId());
    }

    //隨便的測試，可以刪除
    public static void main(String[] strings){
        ArrayList<String> stringArrayList = new ArrayList<>();
        for (int i = 0; i < 10; i++) {
            stringArrayList.add(i + "");
        }
        ListIterator<String> stringListIterator = stringArrayList.listIterator();
        while (stringListIterator.hasNext()){
            LogUtils.eTag(Constant.TAG, stringListIterator.next());
        }
        HashSet<String> strings1 = new HashSet<>();
        new LinkedHashSet<>();
    }
}
